package com.rzx.controller;

import org.junit.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;




import com.rzx.service.MusicService;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;

@Api(tags="music manage")
@RestController
@RequestMapping("/music")
public class MusicController {
		
	@Autowired
	private MusicService musicService;
	@ApiOperation(value="获取music列表")
	@GetMapping(value="list")
	public Object getMusic(@RequestParam(name="test",required=true) String test){
		System.out.println(test);
		return test;
		
	}

}
